package com.huawei.appgallery.purchasehistory.ui.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListAdapter;
import com.huawei.appgallery.foundation.ui.framework.uikit.ContractFragment;
import com.huawei.appgallery.foundation.ui.framework.widget.PullUpListView;
import com.huawei.appgallery.purchasehistory.api.AppTracesListFragmentProtocol;
import com.huawei.appgallery.purchasehistory.ui.adapter.FamilyShareMemberAdapter;
import java.util.List;
import o.cst.d;
import o.cst.e;
import o.csv;
import o.CollectCheck;

public class FamilyShareMemberFragment<T extends AppTracesListFragmentProtocol> extends ContractFragment {
    public View ˋ(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
        List ˏ = csv.ˋ().ˏ();
        ListAdapter familyShareMemberAdapter = new FamilyShareMemberAdapter(ॱˋ(), ˏ);
        View inflate = layoutInflater.inflate(d.ˊॱ, viewGroup, false);
        PullUpListView pullUpListView = (PullUpListView) inflate.findViewById(e.ॱˊ);
        if (!(pullUpListView == null || CollectCheck.isEmpty(ˏ))) {
            pullUpListView.setAdapter(familyShareMemberAdapter);
        }
        return inflate;
    }
}
